FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER zhangrongbin@supermap.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /rootstock-monitor

WORKDIR /rootstock-monitor

EXPOSE 5001

ADD ./rootstock-visual/rootstock-monitor/target/rootstock-monitor.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar rootstock-monitor.jar
